﻿Public Class frmCompany

    Private Sub OCompanyBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OCompanyBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.OCompanyBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DataSet1)

    End Sub

    Private Sub frmCompany_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'DataSet1.oCompany' table. You can move, or remove it, as needed.
        Me.OCompanyTableAdapter.Fill(Me.DataSet1.oCompany)

    End Sub
End Class